package com.central.scheduler.spi.params.base;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @author Tindy
 * @date 2021/10/26
 * @describe
 */
public enum FormType {

    INPUT("input"),
    INPUTNUMBER("inputNumber"),
    RADIO("radio"),
    SELECT("select"),
    SWITCH("switch"),
    CHECKBOX("checkbox"),
    TIMEPICKER("timePicker"),
    DATEPICKER("datePicker"),
    SLIDER("slider"),
    RATE("rate"),
    COLORPICKER("colorPicker"),
    CASCADER("cascader"),
    UPLOAD("upload"),
    ELTRANSFER("el-transfer"),
    TREE("tree");

    private String formType;

    FormType(String formType) {
        this.formType = formType;
    }

    @JsonValue
    public String getFormType() {
        return this.formType;
    }
}

